package com.dragon.graduation.student.service.impl;

import com.dragon.graduation.student.entity.StudentEntity;
import com.dragon.graduation.student.mapper.StudentMapper;
import com.dragon.graduation.student.service.StudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 学生表 服务实现类
 * </p>
 *
 * @author dragon
 * @since 2025-02-28 21:22:17
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, StudentEntity> implements StudentService {

    @Override
    public StudentEntity findByUserId(Integer id) {
        return baseMapper.selectByUserId(id);
    }
}
